<?php
namespace app\serverfund\service\fund;

use \app\manage\service\ApiBase;
/**
 * 用户的资金冻结日志
 * @author adv30 <adv30@126.com> 2017年6月22日10:56:20
 */
class FundFreezeLog extends ApiBase
{
    protected $fundFreezeLogValidate = '\app\serverfund\validate\FundFreezeLog';
    protected $fundFreezeLogLogic = '\app\serverfund\logic\FundFreezeLog';
    // 获取所资金冻结日志(分页)
    public function list(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'keywords'=>'', 'startTime'=>'', 'endTime'=>'', 'type'=>'']);
        return $this->oneStepRun($data, 'serverfund/fund/FundFreezeLog/list', 'list');
    }
    // 获取某些user_ids的的资金冻结日志(分页)
    public function listByUserIds(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'user_ids'=>' ']);
        return $this->oneStepRun($data, 'serverfund/fund/FundFreezeLog/listByUserIds', 'listByUserIds');
    }

}